<script>
import {defineComponent} from 'vue'

export default defineComponent({
    name: "Child",
    mounted(){
        console.log(this)
    }
})
</script>

<template>
    <div>
        <h3>Child</h3>
        <button @click="$listeners.suibian($attrs.num+1)">{{$attrs.num}}</button>
    </div>
</template>

<style scoped>

</style>